core: use GLIB_VERSION_MAX_ALLOWED=2.28
authorColin Walters <walters@verbum.org>
Fri, 25 May 2012 19:00:45 +0000 (15:00 -0400)
committerColin Walters <walters@verbum.org>
Fri, 25 May 2012 19:00:45 +0000 (15:00 -0400)
We want to build/run even on relatively old OSes, so that we can
be used to bootstrap and maintain newer builds.

Makefile.am

index 9d31e098c352d1f9e04e12856d8fc80859952fba..fba107fd21d59f4909897b5159370ae04037ae09 100644 (file)
@@ -16,7 +16,8 @@
 # Boston, MA 02111-1307, USA.
 
 ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
-AM_CPPFLAGS = -DDATADIR='"$(datadir)"' -DLIBEXECDIR='"$(libexecdir)"'
+AM_CPPFLAGS = -DDATADIR='"$(datadir)"' -DLIBEXECDIR='"$(libexecdir)"' \
+       -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_28 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_28
 AM_CFLAGS = $(WARN_CFLAGS)
 
 NULL =